#pragma once

#include "NPC.h"

class MapNpc : public NPC
{
public:
	MapNpc();
	virtual ~MapNpc();

	virtual VOID			Update( DWORD dwDeltaTick );
	virtual VOID			Reuse()		{ Release(); }

	virtual VOID			OnEnterField(Field* pField, WzVector* pwzVec);
	virtual VOID			OnLeaveField();

	virtual BOOL			OnDead();

	VOID					SetMapObjectInfo( MAPOBJECT_INFO *pMapObjectInfo )	{ m_pMapObjectInfo = pMapObjectInfo; }

protected:
	virtual BOOL			Init();
	virtual VOID			Release();

private:
	MAPOBJECT_INFO*			m_pMapObjectInfo;
};
